package root.electronclass.electronclass.personal.dialog

import android.os.Bundle
import android.view.View
import root.electronclass.electronclass.common.base.BasicDialogFragment
import root.electronclass.electronclass.databinding.TipsDialogBinding

/**
 *@ClassName TODO
 *@Description TODO
 *@Author caofc
 *@Date 2023/3/30 23:04
 */
class TipsDialog : BasicDialogFragment<TipsDialogBinding>() {

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        val text = arguments?.getString(DATA) ?: return
        binding.text.text = text
    }

    companion object {
        const val DATA = "_DATA"
    }

}

